<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>05 JQuery选择器</title>
  <style>
    li{
      background: white;
    }

  </style>
  <script src="../../Resource/外部库/jquery-3.2.1.js"></script>
  <script>
    $(document).ready(function () {
 /*     $("#b03").css("background","red");

      $(".liItem").css("background","yellow");*/
      $("li").css("background","blue");
    });
  </script>
</head>
<body>
<ul>
  <li class="liItem">兄弟很多1</li>
  <li>兄弟很多2</li>
  <li id="b03">兄弟很多3</li>
  <li>兄弟很多4</li>
  <li class="liItem">兄弟很多5</li>
  <li>兄弟很多6</li>
  <li>兄弟很多7</li>
  <li class="liItem">兄弟很多8</li>
</ul>
<script>

</script>
</body>
</html>